package org.aurora.framework.boot.common.rpc.request;

import java.io.Serial;

/**
 * PageRequest
 * <pre>
 * description: RPC 分页请求
 * create date: 2025-03-23 14:12:27
 * </pre>
 *
 * @author cao.yong
 */
public class PageRequest implements RpcRequest {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 页码
     */
    private int pageNo = 1;

    /**
     * 页大小
     */
    private int pageSize = 10;

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
